﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BoardPACDSBO.Admin
{
    public class DeviceModel
    {
        public int deviceprimaryId { get; set; }
        public string deviceId { get; set; }
        public string macAddress { get; set; }
        //public Boolean status { get; set; }
        public byte deviceStatus { get; set; }
        public string description { get; set; }

        public override string ToString()
        {
            return " " + this.deviceId + " " + this.deviceStatus + " " + this.description + "";
        }
    }

    public class ReportModel
    {
        public string Level { get; set; }

        public string Date { get; set; }

        public string UserName { get; set; }

        public String Controller { get; set; }

        public string Action { get; set; }

        public string Param { get; set; }
    }

    public enum DeviceStatus
    {
        Deactive,
        Active,
        Wipeout
    }

    public class ReportJsonModel
    {
        public string sEcho { get; set; }
        public int totalRecordCount { get; set; }
        public int totalDisplayRecordsCount { get; set; }
        public List<List<string>> result { get; set; }
    }
}
